package cn.lopr.im.android.bean;


import java.io.Serializable;

/**
 * @author shuangyang7
 * @date 2020/12/28 14:55
 */

public class CallbackResult<T> implements Serializable {

    private int status;

    private String msg;

    private T data;

    public CallbackResult(int status) {
        this.status = status;
    }

    private CallbackResult(int status, T data) {
        this.status = status;
        this.data = data;
    }

    private CallbackResult(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public CallbackResult(int status, String msg, T data) {
        this.status = status;
        this.msg = msg;
        this.data = data;
    }

    public CallbackResult() {

    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

}
